﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace VisionCloud.Domain.DtoModel.Ms
{
    public class EfficiencyDetailRequestDto
    {
        /// <summary>
        /// 项目id/设备id/用户id
        /// </summary>
        [Required] public Guid Id { get; set; }

        /// <summary>
        /// 项目名称/设备号/用户名
        /// </summary>
        [Required] public string Name { get; set; }

        /// <summary>
        /// 搜索开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 搜索结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 类型：
        /// 自检 = 1,
        /// 巡检 = 2,
        /// </summary>
        public List<EnumTaskTypeName> TaskTypeArray { get; set; }

        /// <summary>
        /// 阶段：
        /// 结构初测 = 1,
        /// 结构复测 = 2,
        /// 结构其他 = 64,
        /// 砌筑初测 = 4,
        /// 砌筑复测 = 8,
        /// 砌筑其他 = 128,
        /// 抹灰初测 = 16,
        /// 抹灰复测 = 32,
        /// 抹灰其他 = 256
        /// </summary>
        public List<EnumTaskProperty> TaskPropertyArray { get; set; }
    }
}